<template>
    <div class="aite-mine">
      
           <div class="aite-mine-head">
                <span>@我的</span>
           </div>
           <div class="aite-mine-body">
               <el-card  v-for="item in aiteMineList" :key="item.id">
                <el-row>
                    <el-col  :span="3">
                        <div class="avatar">
                            <el-avatar style="width:80px;height:80px;border:none;float:left;" shape="square" :size="50" :src="item.avatarUrl"></el-avatar>
                        </div>
                    </el-col>
                    <el-col  :span="18" >
                        <div class="user">
                            <a class="user-nick">{{item.userNick}}&nbsp;<span>在评论中@了我</span></a><br>
                            <p>{{item.myNick}}</p>
                            <a class="time">{{item.time}}</a>
                        </div> 
                    </el-col>
                    <el-col :span="3">
                        <div class="comment">
                            <el-avatar style="width:80px;height:80px;border:none;float:left;" shape="square" :size="50" :src="item.video"></el-avatar>
                        </div> 
                    </el-col>
                </el-row>
            </el-card>
           </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            aiteMineList: [
                {
                    id: '1',
                    avatarUrl:require('@/assets/navImgs/avatar.jpg'),  //用户头像地址
                    userNick:'易烊千玺',                               //艾特人的昵称
                    myNick: '晴天',                                    //被艾特人的昵称
                    video: require('@/assets/navImgs/avatar.jpg'),     //评论
                    time: '2021年11月13日 22:10',                      //@时间
                },
                {
                    id: '2',
                   avatarUrl:require('@/assets/navImgs/avatar.jpg'),  //用户头像地址
                    userNick:'白敬亭',                               //艾特人的昵称
                    myNick: '晴天',                                    //被艾特人的昵称
                    video: require('@/assets/navImgs/avatar.jpg'),     //评论
                    time: '2021年11月13日 22:10',                      //@时间
                },
            ]
        }
    }

}
</script>

<style >
.aite-mine-head {
    margin-top: 10px;
    margin-left:205px;
    width: 800px;
    height:30px;
   background-color:white;
   border-radius:5px;
}
.aite-mine-body {
    margin-top: 10px;
    margin-left: 205px;
    width: 800px;
    background-color: white;
    border-radius:5px;
}
.aite-mine-body .user p{
    color: #00a1d6;
    cursor:pointer;     /*鼠标变小手*/
}
.aite-mine-body .user .user-nick {
    width: 80px;
    height: 40px;
    color:black;
    font-weight:600;
    font-size: 14px;
}
.aite-mine-body .user span {
    font-weight: 400;
}
.aite-mine-body .user .time{
    font-size: 12px;
    color: #A1A1A1;
}
</style>
